<?php

namespace App\Transformers;

use App\Models\ImageRecognition;
use League\Fractal\TransformerAbstract;

class ImageRecognitionTransformer extends TransformerAbstract
{
    public function transform(ImageRecognition $imageRecognition)
    {
        return $imageRecognition->attributesToArray();
    }
}